package com.huike.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huike.Role.pojos.Role;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {


    void save(Role role);

    void updateRole(Role role);

    Role findById(Integer id);

    void deleteRole(Integer id);

    Integer getRoleName(Role role);
}
